package cn.wen.rpc.consumer.config;import cn.wen.rpc.annotation.EnableHttpClient;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.web.client.RestTemplate;@Configuration@EnableHttpClient(basePackage = "cn.wen.rpc.consumer.rpc")public class RestConfig {    @Bean    public RestTemplate restTemplate(){        return new RestTemplate();    }}